-
Home
-
Checkout.com Payment Gateway
-
4.3.6
-
Code
-
Classes
- HttpHandlerTest
| Total Complexity |
20 |
| Dependencies |
4 |
| Dependents |
0 |
| Total lines |
228 |
| Lines of code |
150 |
| Logical lines of code |
108 |
| Comment lines |
3 |
| Methods |
20 |
| Properties |
0 |
Methods 20
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| testHandleErrorCode() |
S |
60 |
1 |
12 |
| testHandleErrorSuccess() |
S |
61 |
1 |
12 |
| testCreate() |
S |
76 |
1 |
4 |
| Execute() |
S |
72 |
1 |
5 |
| testSerialize() |
S |
67 |
1 |
8 |
| testIdempotency() |
S |
68 |
1 |
7 |
| testAddHeader() |
S |
68 |
1 |
7 |
| testGetQueryParameters() |
S |
68 |
1 |
7 |
| testGetQueryParametersQuery() |
S |
68 |
1 |
7 |
| testAddOption() |
S |
63 |
1 |
10 |
| testSetContentType() |
S |
70 |
1 |
6 |
| testSetURL() |
S |
70 |
1 |
6 |
| testSetAuth() |
S |
71 |
1 |
6 |
| testOptions() |
S |
65 |
1 |
9 |
| testGetCode() |
S |
66 |
1 |
8 |
| testBody() |
S |
71 |
1 |
6 |
| testHandleError() |
S |
63 |
1 |
10 |
| testSetUpCurl() |
S |
65 |
1 |
9 |
| testExecuteError() |
S |
74 |
1 |
5 |
| testExecute() |
S |
70 |
1 |
6 |